package codequity.two;

public class Client27 {
    public static void main(String[] args) {
        Integer i = new Integer(100);
        Integer j = new Integer(100);

        compare(i, j);

        int i1 = i.compareTo(j);
        System.out.println(i1);
    }

    //比较两个包装对象大小
    public static void compare(Integer i, Integer j) {
        System.out.println(i == j);
        System.out.println(i > j);
        System.out.println(i < j);

    }
}
